package book.pojo;

import java.io.Serializable;
import java.util.Date;

public class Book implements Serializable{

	private Integer id;
	private String name;
	private Date pub_date;
	private String author;
	private double price;
	private boolean is_new;
	private String publisher;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getPub_date() {
		return pub_date;
	}
	public void setPub_date(Date pub_date) {
		this.pub_date = pub_date;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public boolean isIs_new() {
		return is_new;
	}
	public void setIs_new(boolean is_new) {
		this.is_new = is_new;
	}
	public String getPublisher() {
		return publisher;
	}
	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}
	/**
	 * @param id
	 * @param name
	 * @param pub_data
	 * @param author
	 * @param price
	 * @param is_new
	 * @param publisher
	 */
	public Book(Integer id, String name, Date pub_date, String author,
			double price, boolean is_new, String publisher) {
		super();
		this.id = id;
		this.name = name;
		this.pub_date = pub_date;
		this.author = author;
		this.price = price;
		this.is_new = is_new;
		this.publisher = publisher;
	}
	/**
	 * 
	 */
	public Book() {
		super();
	}
	
	

}
